<%-- 
    Document   : employerInfo
    Created on : Oct 2, 2013, 6:43:30 PM
    Author     : trinhnta
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel = "stylesheet" type ="text/css" href="css/employerInfo.css" />
        <title>JSP Page</title>
    </head>
    <body>
        <c:import var="xml" url="WEB-INF/employer.xml" charEncoding="UTF-8"/>
        <x:parse var="doc" doc="${xml}" scope="session"/>
        <x:set var="emp" select="$doc//*[local-name()='employer']"/>
       
        <div id="content">
            <div class="main-content">
                <div class="banner">
                    <img src="<x:out select="$emp//*[local-name()='banner']"/>"/>
                </div>
                <div class="content-left">
                    <div class="companyName">
                        <h2><x:out select="$emp//*[local-name()='companyName']"/></h2>
                    </div>
                    <div class="companyLogo">
                        <img src="<x:out select="$emp//*[local-name()='logo']"/>"/>
                    </div>
                    <div class="companyOverView">
                        <x:out select="$emp//*[local-name()='companyOverview']"/>
                    </div>
                    <div class="Jobs">
                    </div>
                </div>
                <div class="content-right">
                    <div class="info">
                        <h2>Company SnapShot</h2><br>
                        <h4>Website :</h4> <x:out select="$emp//*[local-name()='website']"/><br>
                        <h4>Phone :</h4> <x:out select="$emp//*[local-name()='phone']"/><br>
                        <h4>Address :</h4> <x:out select="$emp//*[local-name()='address']"/><br>
                        <h4>Size :</h4> <x:out select="$emp//*[local-name()='size']"/><br>
                        <h4>Email :</h4> <x:out select="$emp//*[local-name()='email']"/><br>
                    </div>
                </div>
            </div>
        </div>
          
        <div id="footer">
        </div>
    </body>
</html>
